﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Text;
using SqlSugar;

namespace Model.Models
{
    /// <summary>
    /// 角色 菜单 绑定
    /// </summary>
    [SugarTable("sys_RoleMenu")]
    public  class RoleMenu : BaseDBModel
    {
        /// <summary>
        /// 菜单
        /// </summary>
        [StringLength(50)]
        [Description("菜单")]
        public string MenuId { get; set; } = "";

        /// <summary>
        /// 角色
        /// </summary>
        [StringLength(50)]
        [Description("角色")]
        public string RoleId { get; set; } = "";
    }
}
